<div class=" admin-content">

<div class="admin-biaogelist">

    <form class="am-form am-g">
          <table width="100%" class="am-table am-table-bordered am-table-radius am-table-striped am-table-hover">
            <thead>
              <tr class="am-success">
                <th class="table-check"><input type="checkbox" /></th>
                <th class="table-id">ID</th>
                <th class="table-title">标题</th>
                <th class="table-type">作者</th>
                <th class="table-author am-hide-sm-only">发布时间</th>
                <th width="130px" class="table-set">操作</th>
              </tr>
            </thead>
            <tbody>
              <foreach name="List" item="values">
                <tr>
                  <td><input type="checkbox" /></td>
                  <td>{$values.jour_id}</td>
                  <td><b>{$values.title}</b></td>
                  <td>{$values.author}</td>
                  <td class="am-hide-sm-only">{$values.addtime|date="y-m-d",###}</td>
                  <td>
                  	<div class="am-btn-toolbar">
                      <div class="am-btn-group am-btn-group-xs">
                        <button class="am-btn am-btn-default am-btn-xs am-text-success am-round" id="read">
                          <span class="am-icon-search" title="查看订单详情" ></span> 
                        </button>
                        <button class="am-btn am-btn-default am-btn-xs am-text-secondary am-round" data-am-modal="{target: '#my-popups'}" title="修改订单" id="update">
                          <span class="am-icon-pencil-square-o"></span>
                        </button>
                        <button class="am-btn am-btn-default am-btn-xs am-text-danger am-round" title="删除订单">
                          <span class="am-icon-trash-o"></span>
                        </button>
                      </div>
                    </div>
                  </td>
                </tr>
              </foreach>
            </tbody>
          </table>
          
            <div class="am-btn-group am-btn-group-xs">
              <button type="button" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 删除</button>
              <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span> 上架</button>
              <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span> 下架</button>
              <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span> 移动</button>
              <button type="button" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 新增</button>
              <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span> 保存</button>
              <button type="button" class="am-btn am-btn-default"><span class="am-icon-archive"></span> 移动</button>
              <button type="button" class="am-btn am-btn-default"><span class="am-icon-trash-o"></span> 删除</button>
            </div>
          <ul class="am-pagination am-fr">
            {$page}
          </ul>
          <hr />
        </form>

<script>
   // function del(Jid){
   //    $.ajax({
   //      type:"POST",
   //      url :"{:U('Journal/Del')}",
   //      data:{"Jid":Jid},
   //      success:function(msg){
   //        alert(msg);
   //      }
   //      error:function(){
   //        alert(1);
   //      }
   //    })
   // }
</script>
